/*
 * @Author: 230800029 rixing.liu@hytera.com
 * @Date: 2024-04-19 13:04:34
 * @LastEditors: 230800029 rixing.liu@hytera.com
 * @LastEditTime: 2024-04-19 13:05:02
 * @FilePath: /vue3-pg/src/rotuer/appClientMenus.ts
 * @Description: 
 * Copyright (c) 2024 by rixing.liu, All Rights Reserved.
 */
import { appRoutes, appExternalRoutes } from './routes';

const mixinRoutes = [...appRoutes, ...appExternalRoutes];

const appClientMenus = mixinRoutes.map((el) => {
  const { name, path, meta, redirect, children } = el;
  return {
    name,
    path,
    meta,
    redirect,
    children,
  };
});

export default appClientMenus;
